package com.cmcc.flowable.entity;

/**
 * 返回信息，用于前后台交互
 *
 * @author Administrator
 */
public class ResponseMessage {
    /**
     * failure失败 success 成功
     */
    protected String status;

    /**
     * 提示信息
     */
    protected String message;

    /**
     * 数据返回
     */
    protected Object data;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public ResponseMessage() {
        super();
    }

    public ResponseMessage(String status, String message) {
        super();
        this.status = status;
        this.message = message;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public ResponseMessage(String status, String message, Object data) {
        super();
        this.status = status;
        this.message = message;
        this.data = data;
    }

}
